package com.xxx.shetuan3.service;

import com.github.pagehelper.PageInfo;
import com.xxx.shetuan3.pojo.Organization;

import java.util.List;

public interface OrganizationService {
    public boolean saveOrganization(Organization organization);
    public Organization findOrganizationById(Integer organizationId);
    public boolean updateOrganization(Organization organization);
    public boolean deleteOrganizationById(Integer organizationId);
    public boolean stopOrganization(Integer organizationId);
    public boolean restartOrganization(Integer organizationId);
    public List<Organization> findAll();
    public List<Organization> queryPage(Integer pageNum,Integer pageSize);
    public List<Organization> findPageByChiefId(Integer chiefId, Integer start, Integer size);
    public PageInfo queryPage1(Integer pageNum, Integer pageSize);
}
